package com.ldk.framework.enums;

/**
 * 充值类型
 *
 * @author xiangwl
 */
public enum RechargeType {
    Cash("现金充值", 1),
    Weixin("微信充值", 2),
    Alipay("支付宝充值", 4),
    BalanceRefund("余额退款充值", 8),
    UserCancelTrip("用户取消行程充值", 16),
    CompleteTrip("完成行程充值", 32),
    ExpiredTrip("行程过期", 64),
    TICKET("分销收入", 128);

    private RechargeType(String name, int value) {
        this.name = name;
        this.value = value;
    }

    /**
     * 状态名称
     */
    private String name;
    /**
     * 状态值
     */
    private int value;

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @return the value
     */
    public int getValue() {
        return value;
    }
}
